//
//  BN_LoginView.h
//  BabyNow
//
//  Created by 刘泽琛 on 14-4-2.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <SVProgressHUD.h>
#import "AppMacro.h"
#import "UtilsMacro.h"
#import "NotificationMacro.h"

#import "BN_BirthdayView.h"
#import "BN_UserHelper.h"
#import "BN_UserInfo.h"
#import "BN_ForgetPasswordView.h"

typedef void(^LoginFinished)(BOOL isFinished);

@interface BN_LoginView : UIView <UITextFieldDelegate> {

    BN_UserHelper *userHelper_;
}

/**
 *  宝贝在干嘛 图片
 */
@property (weak, nonatomic) IBOutlet UIImageView *loginIconImageView;

/**
 *  忘记密码
 */
@property (weak, nonatomic) IBOutlet UIButton *forgetPasswordBtn;

/**
 *  登录按钮
 */
@property (weak, nonatomic) IBOutlet UIButton *loginBtn;


/**
 *  输入框-用户
 */
@property (weak, nonatomic) IBOutlet UITextField *userNameTextField;

/**
 *  输入框-密码
 */
@property (weak, nonatomic) IBOutlet UITextField *passwordTextField;


@property (nonatomic, strong) LoginFinished loginFinished;

- (void)callBackLoginFinished:(LoginFinished)loginFinished;

@end
